﻿/*
 * Removes all leading and trailing white-space characters from the specified string.
 */
create function [String].[Trim] ( @p_String nvarchar(max) )
returns nvarchar(max) as
begin

  return RTrim( LTrim( @p_String ) );

end